/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import Request from './Request'

import OkHttpClient from './OkHttpClient'

import RequestBody from './RequestBody';

import {TimeUnit} from './utils/Utils';

import {gInterceptors} from './utils/Interceptor';

import FileUpload from './builders/FileUpload';

import FormEncoder from './builders/FormEncoder';

import Mime from './builders/Mime';

import MultiPart from './builders/MultiPart';

import Cookie from './cookies/Cookie';

import CookieJar from './cookies/CookieJar';

import CookieStore from './cookies/CookieStore';

import {CookiePolicy} from './cookies/CookieUtils';

import CookieManager from './cookies/CookieManager';

import gZipUtil from './utils/gZipUtil';
import WebSocket from './WebSocket';
var okhttp = {
    'Request':Request,
    'OkHttpClient': OkHttpClient,
    'RequestBody':RequestBody,
    'Mime':Mime,
    'MultiPart':MultiPart,
    'FileUpload':FileUpload,
    'FormEncoder':FormEncoder,
    'TimeUnit':TimeUnit,
    'interceptors':gInterceptors,
    'Cookie':Cookie,
    'CookieJar':CookieJar,
    'CookieStore':CookieStore,
    'CookiePolicy':CookiePolicy,
    'CookieManager':CookieManager,
    'gZipUtil':gZipUtil,
    'WebSocket':WebSocket
}

export default okhttp;